<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>
        小程序商城管理平台
    </title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../css/x-admin.css" media="all">
</head>
<script src="webjars/jquery/3.3.1/jquery.js"></script>
<style>
    /*背景层*/
    #popLayer {
        display: none;
        background-color: #B3B3B3;
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 10;
        -moz-opacity: 0.8;
        opacity:.80;
        filter: alpha(opacity=80);/* 只支持IE6、7、8、9 */
    }

    /*弹出层*/
    #popBox {
        display: none;
        background-color: #FFFFFF;
        z-index: 11;
        width: 700px;
        height: 550px;
        position:fixed;
        top:0;
        right:0;
        left:0;
        bottom:0;
        margin:auto;
    }

    #popBox .close{
        text-align: right;
        margin-right: 5px;
        background-color: #F8F8F8;
    }

    /*关闭按钮*/
    #popBox .close a {
        text-decoration: none;
        color: #2D2C3B;
    }

</style>
<body>
<div class="layui-layout layui-layout-admin">
    <div class="layui-header header header-demo">
        <div class="layui-main">
            <a class="logo" href="index.html">
                一站式商城管理平台
            </a>
            <ul class="layui-nav" lay-filter="">
                <li class="layui-nav-item"><img src="../images/logo.png" class="layui-circle" style="border: 2px solid #A9B7B7;" width="35px" alt=""></li>
                <li class="layui-nav-item">
                    <a href="javascript:;">admin</a>
                    <dl class="layui-nav-child"> <!-- 二级菜单 -->
                        <dd><a href="">个人中心</a></dd>
                        <dd><a href="../logout">退出</a></dd>
                    </dl>
                </li>
                <!-- <li class="layui-nav-item">
                  <a href="" title="消息">
                      <i class="layui-icon" style="top: 1px;">&#xe63a;</i>
                  </a>
                  </li> -->
                <li class="layui-nav-item x-index"><a th:href="@{'../index'}">首页</a></li>
            </ul>
        </div>
    </div>
    <div class="layui-side layui-bg-black x-side">
        <div class="layui-side-scroll">
            <ul class="layui-nav layui-nav-tree site-demo-nav" lay-filter="side">
                <li class="layui-nav-item">
                    <a class="javascript:;" href="javascript:;">
                        <i class="layui-icon" style="top: 3px;">&#xe607;</i><cite>会员管理</cite>
                    </a>
                    <dl class="layui-nav-child">
                        <dd class="">
                        <dd class="">
                            <a th:href="@{'../user/toUserList'}">
                                <cite>用户列表</cite>
                            </a>
                        </dd>
                        </dd>
                        <dd class="">
                        <dd class="">
                            <a th:href="@{'../user/toAdminList'}">
                                <cite>管理员管理</cite>
                            </a>
                        </dd>
                        </dd>
                        <dd class="">
                        <dd class="">
                            <a th:href="@{'../user/toRoleList'}">
                                <cite>角色管理</cite>
                            </a>
                        </dd>
                        </dd>
                        <dd class="">
                        <dd class="">
                            <a th:href="@{'../user/toNoteList'}">
                                <cite>短信管理</cite>
                            </a>
                        </dd>
                        </dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a class="javascript:;" href="javascript:;">
                        <i class="layui-icon" style="top: 3px;">&#xe62d;</i><cite>商品管理</cite>
                    </a>
                    <dl class="layui-nav-child">
                        <dd class="">
                        <dd class="">
                            <a th:href="@{'../commodity/toCommodityList'}">
                                <cite>商品列表</cite>
                            </a>
                        </dd>
                        </dd>
                        <dd class="">
                        <dd class="">
                            <a th:href="@{'../commodity/toClassifyList'}">
                                <cite>商品分类</cite>
                            </a>
                        </dd>
                        </dd>
                        <dd class="">
                        <dd class="">
                            <a th:href="@{'../commodity/toTradeTrademarkList'}">
                                <cite>品牌列表</cite>
                            </a>
                        </dd>
                        </dd>
                        <dd class="">
                        <dd class="">
                            <a th:href="@{'../commodity/toMoldList'}">
                                <cite>商品类型</cite>
                            </a>
                        </dd>
                        </dd>
                        <dd class="">
                        <dd class="">
                            <a th:href="@{'../commodity/toParameterList'}">
                                <cite>商品属性</cite>
                            </a>
                        </dd>
                        </dd>
                        <dd class="">
                        <dd class="">
                            <a th:href="@{'../commodity/toPropertyList'}">
                                <cite>参数列表</cite>
                            </a>
                        </dd>
                        </dd>
                        <dd class="">
                        <dd class="">
                            <a th:href="@{'../commodity/toEvaluateList'}">
                                <cite>商品评价</cite>
                            </a>
                        </dd>
                        </dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a class="javascript:;" href="javascript:;">
                        <i class="layui-icon" style="top: 3px;">&#xe634;</i><cite>订单管理</cite>
                    </a>
                    <dl class="layui-nav-child">
                        <dd class="">
                        <dd class="">
                            <a th:href="@{'../order/orderlist'}">
                                <cite>订单列表</cite>
                            </a>
                        </dd>
                        </dd>
                        <dd class="">
                        <dd class="">
                            <a th:href="@{'../invoice/invoicelist'}">
                                <cite>发货单列表</cite>
                            </a>
                        </dd>
                        </dd>
                        <dd class="">
                        <dd class="">
                            <a th:href="@{'../billoflading/BillListAll'}">
                                <cite>提货单列表</cite>
                            </a>
                        </dd>
                        </dd>
                        <dd class="">
                        <dd class="">
                            <a th:href="@{'../aftersale/aftersalelist'}">
                                <cite>售后单列表</cite>
                            </a>
                        </dd>
                        </dd>
                        <dd class="">
                        <dd class="">
                            <a th:href="@{'../return/returnlist'}">
                                <cite>退货单列表</cite>
                            </a>
                        </dd>
                        </dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a class="javascript:;" href="javascript:;">
                        <i class="layui-icon" style="top: 3px;">&#xe642;</i><cite>运营管理</cite>
                    </a>
                    <dl class="layui-nav-child">
                        <dd class="">
                        <dd class="">
                            <a th:href="@{'../Article/Articlelist'}">
                                <cite>文章列表</cite>
                            </a>
                        </dd>
                        </dd>
                        <dd class="">
                        <dd class="">
                            <a th:href="@{'../notice/noticelist'}">
                                <cite>公告列表</cite>
                            </a>
                        </dd>
                        </dd>
                        <dd class="">
                        <dd class="">
                            <a th:href="@{'../ArticleType/ArticleTypelist'}">
                                <cite>文章分类</cite>
                            </a>
                        </dd>
                        </dd>
                        <dd class="">
                        <dd class="">
                            <a th:href="@{'../Advertising/Advertisinglist'}">
                                <cite>广告列表</cite>
                            </a>
                        </dd>
                        </dd>
                        <dd class="">
                        <dd class="">
                            <a th:href="@{'../Advertisingspace/Advertisingspacelist'}">
                                <cite>广告位列表</cite>
                            </a>
                        </dd>
                        </dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a class="javascript:;" href="javascript:;">
                        <i class="layui-icon" style="top: 3px;">&#xe630;</i><cite>促销管理</cite>
                    </a>
                    <dl class="layui-nav-child">
                        <dd class="">
                            <a th:href="@{'../promotion/seckillList'}">
                                <cite>团购秒杀列表</cite>
                            </a>
                        </dd>
                        <dd class="">
                            <a th:href="@{'../coupon/couponList'}">
                                <cite>优惠券列表</cite>
                            </a>
                        </dd>
                        <dd class="">
                            <a th:href="@{'../sales/salesList'}">
                                <cite>促销列表</cite>
                            </a>
                        </dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a class="javascript:;" href="javascript:;">
                        <i class="layui-icon" style="top: 3px;">&#xe606;</i><cite>财务管理</cite>
                    </a>
                    <dl class="layui-nav-child">
                        <dd class="">
                            <a th:href="@{'../paylist'}">
                                <cite>支付单列表</cite>
                            </a>
                        </dd>
                        <dd class="">
                            <a th:href="@{'../withdlist'}">
                                <cite>提现列表</cite>
                            </a>
                        </dd>
                        <dd class="">
                            <a th:href="@{'../metlist'}">
                                <cite>支付方式列表</cite>
                            </a>
                        </dd>
                        <dd class="">
                            <a th:href="@{'../retlist'}">
                                <cite>退款单列表</cite>
                            </a>
                        </dd>
                        <dd class="">
                            <a th:href="@{'../acclist'}">
                                <cite>账户资金管理</cite>
                            </a>
                        </dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a class="javascript:;" href="javascript:;">
                        <i class="layui-icon" style="top: 3px;">&#xe612;</i><cite>控制面板</cite>
                    </a>
                    <dl class="layui-nav-child">
                        <dd class="">
                            <a th:href="@{'../explist'}">
                                <cite>导入导出</cite>
                            </a>
                        </dd>
                        <dd class="">
                            <a th:href="@{'../piclist'}">
                                <cite>图片列表</cite>
                            </a>
                        </dd>
                        <dd class="">
                            <a th:href="@{'../stolist'}">
                                <cite>门店列表</cite>
                            </a>
                        </dd>
                        <dd class="">
                            <a th:href="@{'../log/loglist'}">
                                <cite>操作日志</cite>
                            </a>
                        </dd>
                        <dd class="">
                            <a th:href="@{'../logisticsCompany/getLogistics'}">
                                <cite>物流公司列表</cite>
                            </a>
                        </dd>
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a class="javascript:;" href="javascript:;">
                        <i class="layui-icon" style="top: 3px;">&#xe613;</i><cite>微信管理</cite>
                    </a>
                    <dl class="layui-nav-child">
                        <dd class="">
                            <a th:href="@{'../official/getOfficial'}">
                                <cite>公众号配置</cite>
                            </a>
                        </dd>
                        <dd class="">
                            <a th:href="@{'../official/getApplet'}">
                                <cite>小程序配置</cite>
                            </a>
                        </dd>
                    </dl>
                </li>
            </ul>
        </div>

    </div>
    <div class="layui-tab layui-tab-card site-demo-title x-main" lay-filter="x-tab" lay-allowclose="true">
        <div class="x-slide_left"></div>
        <div style="padding: 15px;">
            <span class="layui-breadcrumb" style="visibility: visible;">
                <i class="iconfont icon-shouyeshouye"></i>
                                        <a href="/manage/index/index.html">管理后台</a><span lay-separator="">/</span>
                                            <a href="/manage/order/index.html">订单管理</a><span lay-separator="">/</span>
                                            <a><cite>订单列表</cite></a>
                                </span>
            <style>
                .layui-btn .layui-icon{
                    margin-right: 0;
                }
                .layui-form-pane .layui-form-label, .layui-form-pane .layui-input-inline{
                    width: auto;
                }
                .view-data{
                    height: 36px;
                    line-height: 36px;
                    display: inline-block;
                    padding: 0 20px;
                    border-style:solid;
                    border-width:1px;
                    background-color:#fff;
                    border-radius:2px;
                    border-color:#e6e6e6;
                }
                .table-body .layui-btn .iconfont{
                    font-size: 17px !important;
                }
                .layui-card-body{
                    background-color: #fff;
                    padding: 10px;
                    margin-top: 10px;
                    border: 1px solid #e6e6e6;
                }
                .layui-tab-card>.layui-tab-title{
                    background-color: #f9f9f9;
                    border-bottom: none;
                }
                .layui-tab-content{
                    padding: 0;
                }
                .layui-table, .layui-table-view{
                    margin: 0;
                }
            </style>

            <form class="layui-form seller-form" action="orderlist">
                <div class="layui-form-item">
                    <div class="layui-inline">
                        订单号：<input type="text" name="orderno" th:value="${orderno}" placeholder="请输入订单号" style="padding: 10px">
                    </div>
                    <div class="layui-inline">
                        下单时间：
                            <input type="date" name="date" id="date" th:value="${date}" placeholder="开始时间 到 结束时间" style="padding: 10px">
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline">
                        用户：
                            <input type="text" name="username" th:value="${username}" placeholder="请输入用户名" style="padding: 10px">
                    </div>
                    <div class="layui-inline">
                       手机号：
                            <input type="tel" name="phone" th:value="${phone}" placeholder="收货人手机号" style="padding: 10px">
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-inline" style="margin-left: 17px;">
                        <button class="layui-btn layui-btn-sm" type="submit">筛选</button>
                        <button class="layui-btn layui-btn-sm" type="reset">取消</button>
                        <span style="padding: 10px">订单状态：</span>
                        <a class="layui-btn layui-btn-sm" th:href="@{'orderlist?orderId='+1}">待支付</a>
                        <a class="layui-btn layui-btn-sm" th:href="@{'orderlist?orderId='+2}">待发货</a>
                        <a class="layui-btn layui-btn-sm" th:href="@{'orderlist?orderId='+3}">待收货</a>
                        <a class="layui-btn layui-btn-sm" th:href="@{'orderlist?orderId='+4}">待评价</a>
                        <a class="layui-btn layui-btn-sm" th:href="@{'orderlist?orderId='+5}">已取消</a>
                        <a class="layui-btn layui-btn-sm" th:href="@{'orderlist?orderId='+6}">已完成</a>
                    </div>
                </div>
            </form>

            <div class="table-body">
                <div class="layui-tab layui-tab-card" lay-filter="order-tab">
                    <ul class="layui-tab-title">
                        <li class="" lay-id="all">全部订单<span class="layui-badge layui-bg-gray" th:text="${counts}"></span></li>
                    </ul>
                    <table class="layui-table layui-form">
                        <tr>
                            <th>订单号</th>
                            <th>下单时间</th>
                            <th>订单状态</th>
                            <th>用户名</th>
                            <th>收货人手机号</th>
                            <th>收货地址</th>
                            <th>支付状态</th>
                            <th>发货状态</th>
                            <th>订单总额</th>
                            <th>订单来源</th>
                            <th>操作</th></tr>
                        <tr th:each="li:${orderList}">
                                <td th:text="${li.orderno}"></td>
                                <td th:text="${li.creatDate}"></td>
                                <td th:text="${li.orderstatus}"></td>
                                <td th:text="${li.username}"></td>
                                <td th:text="${li.phone}"></td>
                                <td th:text="${li.address}"></td>
                                <td th:text="${li.paystatus}"></td>
                                <td th:text="${li.delivergoods}"></td>
                                <td th:text="${li.ordermoney}"></td>
                                <td th:text="${li.ordersource}"></td>
                                <td>
                                <a title="查看" th:href = "@{'selxq?id='+${li.id}}">
                                    <i class="layui-icon layui-icon-list"></i></a>
                                    <span th:if="${li.orderstatusId==1}">
                                        <a title="支付" th:id="${li.id}" name="popBox" onclick="popBox()">
                                        <i class="layui-icon layui-icon-dollar"></i></a>
                                    </span>
                                    <span th:if="${li.orderstatusId==2}">
                                        <a title="发货" th:id="${li.id}" name="Delivergoods" onclick="Delivergoods()">
                                        <i class="layui-icon layui-icon-spread-left"></i></a>
                                        <a title="编辑" th:href="@{'seledit?id='+${li.id}}">
                                        <i class="layui-icon">&#xe631;</i></a>

                                    </span>
                                    <span th:if="${li.orderstatusId==3}">
                                       <a title="完成" th:id="${li.id}" name="success" onclick="success()">
                                        <i class="layui-icon">&#xe605;</i></a>
                                    </span>
                            </td>
                        </tr>
                        <tr>
                            <td th:colspan="11" style="text-align: center">
                            <span th:if="${page.pageno>1}">
                                <a class="layui-btn layui-btn-sm" th:href="@{'orderlist?pageno='+1}">首页</a><a class="layui-btn layui-btn-sm" th:href="@{'orderlist?pageno='+${page.pageno-1}}">上一页</a>
                            </span>
                                <span th:if="${page.pageno<page.pagetotalcount}">
                                 <a class="layui-btn layui-btn-sm" th:href="@{'orderlist?pageno='+${page.pageno+1}}">下一页</a><a class="layui-btn layui-btn-sm" th:href="@{'orderlist?pageno='+${page.pagetotalcount}}">尾页</a>
                             </span>&nbsp;&nbsp;&nbsp;&nbsp;
                                <span style="font-size: 17px">第<span th:text="${page.pageno}"></span>页/共<span th:text="${page.pagetotalcount}"></span>页</span>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <div class="site-mobile-shade">
    </div>
</div>
<script src="../lib/layui/layui.js" charset="utf-8"></script>
<script src="../js/x-admin.js"></script>
<script>
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>



<div id="popLayer"></div>
<div id="popBox">
    <div class="close">
        <a href="javascript:void(0)" onclick="closeBox()"><i class="layui-icon">&#x1007;</i></a>
    </div>
    <div class="content" style="text-align: center;">

    </div>

    <div class="Delivergoods" style="margin-left: 50px">

    </div>

    <div class="success" style="text-align: center;margin-top: 200px">

    </div>
</div>
<script>
    /*点击弹出按钮*/
    function success() {
        var id=$("[name=success]").attr("id");
        var popBox = document.getElementById("popBox");
        var popLayer = document.getElementById("popLayer");
        popBox.style.display = "block";
        popLayer.style.display = "block";
        $.get("sel","id="+id,function (data) {
            $(".success").html("<form action=\"success\">\n" +
                "            <p><strong>确认设置订单号：<span style=\"color: red\">"+data.orders.orderno+"</span> 为完成吗？</strong></p><br>\n" +
                "            <p style=\"color: red\">完成订单后将不能再对订单进行任何操作。</p><br>\n" +
                "            <button class=\"layui-btn layui-btn-lg\" type=\"submit\">完成</button>\n" +
                "        </form>")
        })
    }



    function Delivergoods() {
        var id=$("[name=Delivergoods]").attr("id");
        var popBox = document.getElementById("popBox");
        var popLayer = document.getElementById("popLayer");
        popBox.style.display = "block";
        popLayer.style.display = "block";
        $.get("sel","id="+id,function (data) {
            $(".Delivergoods").html("<form action=\"Delivergoods\">\n" +
                "            <fieldset class=\"layui-elem-field layui-field-title\" style=\"margin-top: 0;\">\n" +
                "                <legend>收货人信息</legend>\n" +
                "            </fieldset>\n" +
                "                <strong>订单号：\n" +
                "                    <span>"+data.orders.orderno+"</span></strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n" +
                "                <strong>配送方式：\n" +
                "                <span>商家配送</span></strong><br><br>\n" +
                "            <strong>收货地址：\n" +
                "                <span>"+data.orders.address+"</span></strong><br><br>\n" +
                "            <strong>收货人姓名：\n" +
                "                <span>"+data.orders.name+"</span></strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\n" +
                "            <strong>收货人电话：\n" +
                "                <span>"+data.orders.phone+"</span></strong><br><br>\n" +
                "            <strong>商品总重：0</strong>\n" +
                "            <fieldset class=\"layui-elem-field layui-field-title\">\n" +
                "                <legend>待发货信息</legend>\n" +
                "            </fieldset>" +
                "<div>\n" +
                "                <table border='1' style=\"margin: 0 auto\">\n" +
                "                    <tr style=\"padding: 20px;background:#d1d1d1;text-align: center\"><td style=\'width: 150px\'>商品名称</td><td style='width: 100px'>商品编码</td><td style='width: 50px'>购买数量</td><td style='width: 50px'>已发数量</td><td style='width: 50px'>发货数量</td></tr>\n" +
                "                    <tr style=\'text-align: center\'>\n" +
                "                        <td>"+data.orders.shopname+"</td>\n" +
                "                        <td>"+data.orders.shopno+"</td>\n" +
                "                        <td>"+data.orders.shopnum+"</td>\n" +
                "                        <td>"+data.orders.already+"</td>\n" +
                "                        <td>"+data.orders.deliverno+"</td>\n" +
                "                    </tr>\n" +
                "                </table>\n" +
                "            </div><br>\n" +
                "            <div class=\"layui-form-item\" lay-size=\"sm\">\n" +
                "                <label class=\"layui-form-label\">物流公司：</label>\n" +
                "                <select name=\"CourierServices\" style=\"padding: 5px\">\n" +
                "                      <option value=\"\">请选择物流公司</option>\n" +
                "                      <option value=\"商家配送\">商家配送</option>\n" +
                "                 </select><br><br>\n" +
                "                <label class=\"layui-form-label\">物流单号：</label>\n" +
                "                <div class=\"layui-input-inline seller-inline-3\">\n" +
                "                    <input type=\"text\" id=\"logi_no\" name=\"CourierNo\" class=\"layui-input\" required placeholder=\"请输入物流单号(必填)\">\n" +
                "                </div>\n" +
                "            </div>\n" +
                "            <div class=\"layui-form-item\" lay-size=\"sm\">\n" +
                "                <label class=\"layui-form-label\">发货备注：</label>\n" +
                "                <div class=\"layui-input-inline seller-inline-9\">\n" +
                "                    <input type=\"text\" id=\"memo\" name=\"remarks\" class=\"layui-input\" required placeholder=\"请输入备注(可选)\">\n" +
                "                </div>\n" +
                "            </div>\n" +
                "            <button class=\"layui-btn\">发货</button>\n" +
                "        </form>");
        })
    }


    function popBox() {
        var id=$("[name=popBox]").attr("id");
        var popBox = document.getElementById("popBox");
        var popLayer = document.getElementById("popLayer");
        popBox.style.display = "block";
        popLayer.style.display = "block";
        $.get("sel","id="+id,function (data) {
            $(".content").html("<form action=\"pay\" style=\"margin-top: 100px\">" +
                "            <table style=\"margin: 10px auto;\" border=\"1\" >\n" +
                "                <tr>\n" +
                "                    <td style=\"padding: 10px;background:#d1d1d1;width: 100px\">编号</td>\n" +
                "                    <td style=\"padding: 10px\">"+data.orders.orderno+"</td>\n" +
                "                </tr>\n" +
                "                <tr>\n" +
                "                    <td style=\"padding: 10px;background: #d1d1d1;width: 100px\">总价</td>\n" +
                "                    <td style=\"padding: 10px\">￥"+data.orders.ordermoney+"</td>\n" +
                "                </tr>\n" +
                "            </table>\n" +
                "            <hr>\n" +
                "                    支付方式：\n" +
                "                    <select name=\"pay\" style=\"padding: 7px\" th:e>\n" +
                "                        <option value=\"1\">微信支付</option>\n" +
                "                        <option value=\"2\">支付宝支付</option>\n" +
                "                        <option value=\"3\">余额支付</option>\n" +
                "                    </select><br><br>\n" +
                "            <button class=\"layui-btn layui-btn-lg\" type=\"submit\">支付</button>\n" +
                "        </form>");
        });
    };

    /*点击关闭按钮*/
    function closeBox() {
        var popBox = document.getElementById("popBox");
        var popLayer = document.getElementById("popLayer");
        popBox.style.display = "none";
        popLayer.style.display = "none";
        location.href="orderlist";
    }
</script>
</body>
</html>
